<template>
  <el-divider />

  <div>这是first</div>
  <div>{{ post.info }}</div>
  <el-divider />
  <secondChild :post="post"></secondChild>
</template>

<script setup>
import { ref, reactive } from "vue";
import { ElMessage } from "element-plus";
defineProps({
  post: Object
});
const open = () => {
  ElMessage({
    message: `oneChild信息`,
    type: "success"
  });
};
defineExpose({ open });
</script>

<style scoped lang="less">
</style>
